package org.com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.com.pojo.UserBalance;

/**
* @author 86134
* @description 针对表【user_balance】的数据库操作Mapper
* @createDate 2025-03-04 19:34:22
* @Entity org.com.pojo.UserBalance
*/
@Mapper
public interface UserBalanceMapper extends BaseMapper<UserBalance> {
    UserBalance getOne(@Param("userId") Integer userId);
    
    int updateBalance(@Param("balanceId") Long balanceId, 
                     @Param("balance") java.math.BigDecimal balance, 
                     @Param("updatedAt") java.util.Date updatedAt);
}




